﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace B.T.BasicData.Domain.RBAC
{
    /// <summary>
    /// 角色信息
    /// </summary>
    [Table("RolesInfo")]
    public class RolesInfo
    {
        [Key]
        [DatabaseGenerated(DatabaseGeneratedOption.None)]
        public long RolesId {  get; set; }//角色Id
        public string  RoleName { get; set; }//角色名称
        public bool  status { get; set; } = true;//是否启用
        public int Serialnumber { get; set; }//序号
        public DateTime  CreateTime { get; set; }//创建时间
        public bool IsDeleted { get; set; } = false;//是否删除
    }
}
